﻿using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.Application.Services;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using XfTech.SmartTms.BusinessAudit.Dtos;

namespace XfTech.SmartTms.BusinessAudit
{
    /// <summary>
    /// 业务审批接口
    /// </summary>
    public interface IVehicleAuditAppService : IApplicationService
    {
        //查看所有审核主记录
        Task<PagedResultDto<VehicleAuditDto>> GetVehicleAuditAsync(PagedAndSortedResultRequestDto input);

        //根据主记录Id获取主记录信息
        Task<VehicleAuditLogDto> GetVehicleAuditByIdAsync(Guid auditId);

        //终止审批（通过/拒绝）
        Task EndAuditAsync(ProcessBusinessAuditDto input);

        //通过并转批
        Task ProcessAuditAsync(ProcessBusinessAuditDto input);

    }
}
